----------------------------------------------------
Changelog from version 1.1.0 to 1.1.1
----------------------------------------------------

--------------------------
template-portfolio.php
--------------------------

** Find on line 90: **

<a href="<?php if($attachment->post_content) { ?><?php echo $attachment->post_content ?>&image=<?php if(has_post_thumbnail()) { ?><?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array(980,9999),false,''); echo $src[0]; ?><?php } else { ?><?php echo wp_get_attachment_url($attachment->ID); ?><?php } ?>&width=780&height=418&autostart=<?php if($theme_lb_autostart == 'Yes') { ?>true<?php } elseif($theme_lb_autostart == 'No') { ?>false<?php } ?>&quality=<?php if($theme_lb_quality == 'High') { ?>true<?php } elseif($theme_lb_quality == 'Low') { ?>false<?php } ?>&overstretch=<?php if($theme_lb_vid_stretch == 'Fill') { ?>true<?php } elseif($theme_lb_vid_stretch == 'Fit') { ?>Fit<?php } ?>&showicons=<?php if($theme_lb_icons == 'Yes') { ?>true<?php } elseif($theme_lb_icons == 'No') { ?>false<?php } ?><?php } elseif(has_post_thumbnail()) { ?><?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array(980,9999),false,''); echo $src[0]; ?><?php } else { ?><?php echo wp_get_attachment_url($attachment->ID); ?><?php } ?>" rel="prettyPhoto[portimage<?php the_ID(); ?>]"><?php if(has_post_thumbnail()) { ?><?php the_post_thumbnail(array(560,9999), array('title' => '')); ?><?php } else { ?><img src="<?php echo wp_get_attachment_url($attachment->ID); ?>"  alt="" /><?php } ?></a>

** Replace with: **

<a href="<?php if($attachment->post_content) { ?><?php echo $attachment->post_content ?>&image=<?php if(has_post_thumbnail()) { ?><?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array(980,9999),false,''); echo $src[0]; ?><?php } else { ?><?php echo wp_get_attachment_url($attachment->ID); ?><?php } ?>&width=780&height=418&autostart=<?php if($theme_lb_autostart == 'Yes') { ?>true<?php } elseif($theme_lb_autostart == 'No') { ?>false<?php } ?>&quality=<?php if($theme_lb_quality == 'High') { ?>true<?php } elseif($theme_lb_quality == 'Low') { ?>false<?php } ?>&overstretch=<?php if($theme_lb_vid_stretch == 'Fill') { ?>true<?php } elseif($theme_lb_vid_stretch == 'Fit') { ?>Fit<?php } ?>&showicons=<?php if($theme_lb_icons == 'Yes') { ?>true<?php } elseif($theme_lb_icons == 'No') { ?>false<?php } ?>&bufferlength=<?php echo($theme_lb_bufferlength) ?>&backcolor=0x000000&frontcolor=0xffffff&lightcolor=0xffffff&screencolor=0x000000&shownavigation=<?php if($theme_lb_controlbar == 'Show') { ?>true<?php } elseif($theme_lb_controlbar == 'Hide') { ?>false<?php } ?><?php } elseif(has_post_thumbnail()) { ?><?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array(980,9999),false,''); echo $src[0]; ?><?php } else { ?><?php echo wp_get_attachment_url($attachment->ID); ?><?php } ?>" rel="prettyPhoto[portimage<?php the_ID(); ?>]"><?php if(has_post_thumbnail()) { ?><?php the_post_thumbnail(array(560,9999), array('title' => '')); ?><?php } else { ?><img src="<?php echo wp_get_attachment_url($attachment->ID); ?>"  alt="" /><?php } ?></a>


--------------------------
video.php
--------------------------

** Replace content with: **

<embed id="<?php the_ID(); ?>" height="<?php if($theme_slider_size == 'Large') { ?>525?php } else { ?>418<?php } ?>" width="<?php if($theme_slider_size == 'Large') { ?>980<?php } else { ?>780<?php } ?>" flashvars="image=<?php if(has_post_thumbnail()) { ?><?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array(980,9999),false,''); echo $src[0]; ?><?php } else { ?><?php echo get_post_meta($post->ID, 'slider_image', true); ?><?php } ?>&height=<?php if($theme_slider_size == 'Large') { ?>525<?php } else { ?>418<?php } ?>&width=<?php if($theme_slider_size == 'Large') { ?>980<?php } else { ?>780<?php } ?>&displayheight=<?php if($theme_slider_size == 'Large') { ?>525<?php } else { ?>418<?php } ?>&usefullscreen=true&file=<?php echo $attachment->post_content ?>&showdigits=true&showicons=<?php if($theme_icons == 'Yes') { ?>true<?php } elseif($theme_icons == 'No') { ?>false<?php } ?>&showstop=false&showdownload=false&showvolume=true&autostart=<?php if($theme_autostart == 'Yes') { ?>true<?php } elseif($theme_autostart == 'No') { ?>false<?php } ?>&overstretch=<?php if($theme_vid_stretch == 'Fill') { ?>true<?php } elseif($theme_vid_stretch == 'Fit') { ?>Fit<?php } ?>&volume=80&smoothing=<?php if($theme_quality == 'High') { ?>true<?php } elseif($theme_quality == 'Low') { ?>false<?php } ?>&bufferlength=<?php echo($theme_bufferlength) ?>&backcolor=0x000000&frontcolor=0xffffff&lightcolor=0xffffff&screencolor=0x000000&shownavigation=<?php if($theme_controlbar == 'Show') { ?>true<?php } elseif($theme_controlbar == 'Hide') { ?>false<?php } ?>" allowfullscreen="true" quality="autolow" name="<?php the_ID(); ?>" style="width: <?php if($theme_slider_size == 'Large') { ?>980<?php } else { ?>780<?php } ?>px; height: <?php if($theme_slider_size == 'Large') { ?>525<?php } else { ?>418<?php } ?>px;" src="<?php bloginfo('url'); ?>/wp-content/plugins/flv-embed/flvplayer.swf" type="application/x-shockwave-flash"/>


--------------------------
functions.php
--------------------------

** Find on line 126: **

array(	"name" => "Homepage Tab Settings",

** Replace with: **

array(	"name" => "Homepage Settings",


** Find on lines 145-150: **

array(  
"name" => "Most Comments Tab",
"desc" => "Checking this disables the most commented posts tab.",
"id" => $shortname."_disable_comments_tab",
"std" => "false",
"type" => "checkbox"),

** Add below: **

array(  
"name" => "Number Of Posts To Display",
"desc" => "With the tabbed interface you can't have multiple pages per tab, instead you can control the number of posts to display per tab - set to '-1' if you do not want a limit.<br/>Note: To control the number of posts per page elsewhere on the site go to Settings > Reading.",
"id" => $shortname."_number_of_posts",
"std" => "10",
"type" => "text"),


** Find on lines 235-241: **

array(  
"name" => "Video Icons",
"desc" => "Play/pause icons on video display itself.",
"id" => $shortname."_icons",
"std" => "Yes",
"options" => array('Yes', 'No'),
"type" => "select"),

** Add below: **

array(  
"name" => "Video Control Bar",
"desc" => "Show or hide the control bar.",
"id" => $shortname."_controlbar",
"std" => "Hide",
"options" => array('Hide', 'Show'),
"type" => "select"),


** Find on lines 243-249: **

array(  
"name" => "Video Quality",
"desc" => "The quality of the video.",
"id" => $shortname."_quality",
"std" => "High",
"options" => array('High', 'Low'),
"type" => "select"),

** Add below: **

array(  
"name" => "Video Buffer Length",
 "desc" => "The number of seconds the video has to load before playing - use a higher number if you use large video files.",
"id" => $shortname."_bufferlength",
"std" => "5",
"type" => "text"),


** Find on lines 275-281: **

array(  
"name" => "Video Icons",
"desc" => "Play/pause icons on video display itself.",
"id" => $shortname."_lb_icons",
"std" => "Yes",
"options" => array('Yes', 'No'),
"type" => "select"),

** Add below: **

array(  
"name" => "Video Control Bar",
"desc" => "Show or hide the control bar.",
"id" => $shortname."_lb_controlbar",
"std" => "Hide",
"options" => array('Hide', 'Show'),
"type" => "select"),


** Find on lines 283-289: **

array(  
"name" => "Video Quality",
"desc" => "The quality of the video.",
"id" => $shortname."_lb_quality",
"std" => "High",
"options" => array('High', 'Low'),
"type" => "select"),

** Add below: **

array(  
"name" => "Video Buffer Length",
"desc" => "The number of seconds the video has to load before playing - use a higher number if you use large video files.",
"id" => $shortname."_lb_bufferlength",
"std" => "5",
"type" => "text"),


** Find on line 1058: **

remove_filter('the_excerpt', 'wpautop');

** Add below: **

// Paginate offsetted post queries
function my_post_limit($limit) {
	global $paged, $myOffset;
	if (empty($paged)) {
			$paged = 1;
	}
	$postperpage = intval(get_option('posts_per_page'));
	$pgstrt = ((intval($paged) -1) * $postperpage) + $myOffset . ', ';
	$limit = 'LIMIT '.$pgstrt.$postperpage;
	return $limit;
}


--------------------------
index.php
--------------------------

** Find on line 14: **

<?php query_posts('showposts=1&meta_key=featured&meta_value='.get_post_meta($post->ID, 'featured', true)); while (have_posts()) : the_post(); ?>

** Replace with: **

<?php query_posts('posts_per_page=1&meta_key=featured&meta_value='.get_post_meta($post->ID, 'featured', true)); while (have_posts()) : the_post(); ?>


** Find on line 22: **

<?php query_posts('offset=1&meta_key=featured&meta_value='.get_post_meta($post->ID, 'featured', true)); while (have_posts()) : the_post(); ?>

** Replace with: **

<?php query_posts('offset=1&meta_key=featured&meta_value='.get_post_meta($post->ID, 'featured', true).'&posts_per_page='.$theme_number_of_posts); while (have_posts()) : the_post(); ?>


** Find on line 37: **

<?php query_posts('showposts=1'); while (have_posts()) : the_post(); ?>

** Replace with: **

<?php query_posts('posts_per_page=1'); while (have_posts()) : the_post(); ?>


** Find on line 45: **

<?php query_posts('offset=1'); while (have_posts()) : the_post(); ?>

** Replace with: **

<?php query_posts('offset=1&posts_per_page='.$theme_number_of_posts); while (have_posts()) : the_post(); ?>


** Find on line 60: **

<?php query_posts('showposts=1&orderby=comment_count&order=desc'); while (have_posts()) : the_post(); ?>

** Replace with: **

<?php query_posts('posts_per_page=1&orderby=comment_count&order=desc'); while (have_posts()) : the_post(); ?>


** Find on line 68: **

<?php query_posts('orderby=comment_count&order=desc'); while (have_posts()) : the_post(); ?>

** Replace with: **

<?php query_posts('orderby=comment_count&order=desc&posts_per_page='.$theme_number_of_posts); while (have_posts()) : the_post(); ?>


--------------------------
template-alternative-category.php
--------------------------

** Find on line 13: **

<?php query_posts($query_string.'&showposts=1&meta_key=featured&meta_value='.get_post_meta($post->ID, 'featured', true)); while (have_posts()) : the_post(); ?>

** Replace with: **

<?php query_posts($query_string.'&paged='.!$paged.'&posts_per_page=1&meta_key=featured&meta_value='.get_post_meta($post->ID, 'featured', true)); while (have_posts()) : the_post(); ?>


** Find on line 32: **

<?php query_posts($query_string.'&showposts=1'); if (have_posts()) : while (have_posts()) : the_post(); ?>

** Replace with: **

<?php global $paged; $counter = 1; query_posts($query_string.'&posts_per_page=1'); if (have_posts()) : while (have_posts()) : the_post(); ?>

<?php if ($counter == '1' && ($paged == '' || $paged < 2)) { ?>


** Find on line 34: **

<?php require('top-post.php'); ?>

** Add below: **

<?php $counter++; } else { ?><?php } ?>


** Find on line 40: **

<?php query_posts($query_string.'&offset=1'); while (have_posts()) : the_post(); ?>

** Replace with: **

<?php add_filter('post_limits', 'my_post_limit'); ?>		
<?php global $myOffset; $myOffset = 1; query_posts($query_string.'&offset='.$myOffset.'&paged='.$paged); while (have_posts()) : the_post(); ?>


** Find on line 44: **

<?php endwhile; wp_reset_query(); ?>

** Replace with: **

<?php endwhile; ?>

	<div class="clear"></div>
	<?php if(function_exists('wp_pagenavi')) { ?><?php wp_pagenavi(); ?>
	<?php } else { ?>
	<div class="left"><?php next_posts_link('&laquo; Older Entries') ?></div>
	<div class="right"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
	<?php } ?>
	
<?php wp_reset_query(); ?>
<?php remove_filter('post_limits', 'my_post_limit'); ?>


--------------------------
style.css
--------------------------

** Find on line 3: **

Version: 1.1

**Replace with: **

Version: 1.1.1


** Find on line 174: **

font-size: 45pt;

** Replace with: **

padding: 30px 0 0 0;


** Find on line 182: **

padding: 0 5px 20px 0;

** Replace with: **

padding: 0 5px 0 0;


** Find on line 1146: **

padding: 0 4px;

** Replace with: **

padding: 0 4px 1px 4px;